#ifndef GV_SYSTEMTRANSMITTERSSETUPDIALOG_H
#define GV_SYSTEMTRANSMITTERSSETUPDIALOG_H
#include <QtGui>
#include <QtGui/QWidget>
#include <QtCore/QTextCodec>
#include <QDialog>
#include "ui_systemstransmitterssetup.h"
class QTimer;
class GV_SystemTransmittersSetupDialog:public QDialog, public Ui::SystemTransmittersSetupDialog
{
    Q_OBJECT
signals:
    void currentTime();
public:
    GV_SystemTransmittersSetupDialog(QWidget *parent = 0);

    QTimer *timer;
private slots:
    void GV_chTime();
    void home();

    void analogueclicked();
    void alarmclicked();
    void linearoffsetclicked();
    void samplingtimeclicked();
    void detailedviewclicked();

    void AnalogueCurrent4mAButtonClicked();
    void AnalogueCurrent20mAButtonClicked();
    void AnalogueCurrentDecreaseButtonClicked();
    void AnalogueCurrentIncreaseButtonClicked();

    void AlarmCurrent1eButtonClicked();
    void AlarmCurrent2eButtonClicked();
    void AlarmCurrent3eButtonClicked();
    void AlarmCurrentDecreaseButtonClicked();
    void AlarmCurrentIncreaseButtonClicked();

    void LinearoffsetCurrentDecreaseButtonClicked();
    void LinearoffsetCurrentIncreaseButtonClicked();

    void SamplingtimeTimeDecreaseButtonClicked();
    void SamplingtimeTimeIncreaseButtonClicked();

private:
    int AnalogueCurrent4mA;
    int AnalogueCurrent20mA;
    int AnalogueCurrentButtonStatus;

    int AlarmCurrent1e;
    int AlarmCurrent2e;
    int AlarmCurrent3e;
    int AlarmCurrentButtonStatus;

    int LinearoffsetValue;

    int SamplingtimeValue;
    void reloadtext();

};
#endif // GV_SYSTEMTRANSMITTERSSETUPDIALOG_H
